function Btc(view,InsideColor,radiu)
  import "android.graphics.drawable.GradientDrawable"
  drawable = GradientDrawable()
  drawable.setShape(GradientDrawable.RECTANGLE)
  drawable.setColor(InsideColor)
  drawable.setCornerRadii({radiu,radiu,radiu,radiu,radiu,radiu,radiu,radiu});
  view.setBackgroundDrawable(drawable)
end
crr=0xffD8E5FF--选中背景色
crl=0xfeeeeee--未选背景色
function btc(id)--选中背景
  Btc(id,crr,360)
end
function btd(id)--未选中背景
  Btc(id,crl,360)
end
function fsh(view)--动画，700
  flash(view,700)
end
function item(number)--page列表0/1/2/3
  items.setCurrentItem(number)
end
function bkgd()--颜色设置调用函数
  if Ar=="go" or Ar==nil then
    btc(Hmr)
    fsh(Hmt)
    Ar="out"
   else
    btd(Hmr)
  end
  if Br=="go" then
    btc(Adr)
    fsh(Adt)
    Br="out"
   else
    btd(Adr)
  end
  if Cr=="go" then
    btc(Myr)
    fsh(Myt)
    Cr="out"
   else
    btd(Myr)
  end
  if Dr=="go" then
    btc(Abr)
    fsh(Abt)
    Dr="out"
   else
    btd(Abr)
  end
end